<template>
    <van-tabbar v-model="active">
        <van-tabbar-item replace to="/home/index" icon="home-o">首页</van-tabbar-item>
        <van-tabbar-item replace to="/home/fen" icon="search">分类</van-tabbar-item>
        <van-tabbar-item replace to="/home/cart" icon="friends-o">购物车</van-tabbar-item>
        <van-tabbar-item replace to="/home/my" icon="setting-o">我的</van-tabbar-item>
    </van-tabbar>

</template>

<script setup>
import { ref } from 'vue';
const active = ref(0);
</script>

<style lang="scss" scoped></style>